<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<f:view>
    <f:loadBundle basename="shmallarchitect.resources.ShmallResources" var="res"/>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></meta>
            <title>
                <h:outputText value="#{res.title} - #{res['login.pageTitle']}"/>
            </title>
            <link href="../css/shmall.css" rel="stylesheet" media="screen"></link>
            <link rel="shortcut icon" href="images/favicon.png">
        </head>
        <body><h:form>
                <table width="100%" border="0">
                    <tr>
                        <td>
                            <h1 align="center">
                                <h:graphicImage url="/images/shmall_logo.png"
                                                alt="logo"/>
                                <h:outputText value="#{res.title}" styleClass="LogoTitle"/>
                            </h1>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <f:subview id="loginbar">
                                <jsp:include page="mainbar.jsp"/>
                            </f:subview>
                        </td>
                    </tr>
                    <tr>
                        <td>

                            <h1>JavaFX FloorEditor</h1>

                            <script src="http://dl.javafx.com/1.2/dtfx.js"></script>
                            <script>
                                javafx(
                                {
                                    archive: "ShmallArchitectFx.jar",
                                    draggable: true,
                                    width: 1100,
                                    height: 800,
                                    code: "shmallarchitect.gui.Main",
                                    name: "ShmallArchitectFx"
                                }
                            );
                            </script>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <f:subview id="creditsbar">
                                <jsp:include page="../creditsbar.jsp"/>
                            </f:subview>
                        </td>
                    </tr>
                </table>
        </h:form></body>
    </html>
</f:view>